package com.pactera.madp.cp.api.feign;

import com.pactera.madp.admin.api.entity.SysDictItem;
import com.pactera.madp.common.core.constant.SecurityConstants;
import com.pactera.madp.common.core.constant.ServiceNameConstants;
import com.pactera.madp.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 数据字典远程调用
 * @author zkd
 * @date 2022/5/11 16:56
 */
@FeignClient(contextId = "remoteDictService", value = ServiceNameConstants.UPMS_SERVICE)
public interface RemoteDictService {

    @GetMapping("/dict/crm-cust-dict/list")
    List<SysDictItem> getCrmCustDict();

}
